Part Number Hot Search : 
D2N220DG SMAJ60CA C2188 28F10 C1454 1N4728A ISL85 DA121TT1
Product Description
Full Text Search
 

To Download AD9834-15 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  20 mw power, 2.3 v to 5.5 v, 75 mhz complete dds data sheet ad9834 features narrow - band sfdr >72 db 2.3 v to 5.5 v p ower s upply output f requency up to 37.5 mhz sine o utput/ t riangular o utput on - b oard c omparator 3 - w ire spi? i nterface extended t emperature r ange: ? 40 c to +105 c power - d own o ption 20 mw p ower c onsumption at 3 v 20- l ead tssop applications frequency s timulus/ w aveform g eneration frequency p hase t uning and m odulation low p ower rf/ c ommunications s ystems liquid and g as f low m easurement sensory a pplications : p roximity, m otion, and d efect d etection test and m edical e q uipment general description the ad9834 is a 75 mhz low power dds device capable of producing high performance sine and triangular outputs. it also has an on - board comparator that allows a square wave to be produced for clock generation. consuming only 20 mw of power at 3 v makes the ad9834 an ideal candidate for power - sensitive applications. capability for phase modulation and frequency modulation is provided. the f requency registers are 28 bits; with a 7 5 mhz clock rate, resolution of 0.2 8 hz can be achieved. similarly, with a 1 mhz clock rate, the ad9834 can be tuned to 0.004 hz resolution. frequency and phase modulation are affected by loading registers through the serial interface and toggling the registers using software or the fselect pin and pselect pin , respectively. the ad9834 is written to using a 3 - wire serial interface. this serial interface operates at clock rates up to 40 mhz and is compatible with dsp and microcontroller standards. the device operates with a power supply from 2.3 v to 5.5 v. the analog and digital sections are independent and can be run from different power supplies, for example, av dd can e qu a l 5 v with dvdd equal to 3 v. the ad9834 has a power - down pin (sleep) that allows externa l control of the power - down mode. sections of the device that are not being used can be powered down to mi nimize the current consumption. f or example, the dac can be powered down when a clock output is being generated. the part is available in a 20 - lead ts s o p. functional block dia gram 12 mux mux comparator msb cap/2.5v dvdd agnd avdd mclk ad9834 fsync sclk sdata comp iout ioutb dgnd regulator refout fs adjust vin fselect 12-bit phase0 reg 12-bit phase1 reg sleep reset pselect mux mux mux sign bit out vcc 2.5v on-board reference 16-bit control register full-scale control 10-bit dac divided by 2 sin rom phase accumulator (28-bit) 28-bit freq0 reg 28-bit freq1 reg serial interface and control logic 02705-001 figure 1 . rev. d document feedback information furnished by analog devices is believed to be accurate and reliable. however, no respons ibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. specifications subject to change without notice. no license is granted by implication or otherwise under a ny patent or patent rights of analog devices. trademarks and registered trademarks are the property of their respective owners. one technology way, p.o. box 9106, norwood, ma 02062 - 9106, u.s.a. tel: 781.329.4700 ? 2003C 2014 analog devices, inc. all rights reserved. technical support www.analog.com
ad9834 data sheet table of contents features .............................................................................................. 1 applications ....................................................................................... 1 general description ......................................................................... 1 functional block diagram .............................................................. 1 revision history ............................................................................... 3 specifications ..................................................................................... 4 timing characteristics ................................................................ 6 absolute maximum ratings ............................................................ 7 esd caution .................................................................................. 7 pin configuration and function descriptions ............................. 8 typical perform ance characteristics ........................................... 10 terminology .................................................................................... 14 theory of operation ...................................................................... 15 ci rcuit description ......................................................................... 16 numerically controlled oscillator plus phase modulator ... 16 sin rom ..................................................................................... 16 digital - to - analog converter (dac) ....................................... 16 comparator ................................................................................. 16 regulator ...................................................................................... 17 output voltage compliance ...................................................... 17 functional description .................................................................. 18 serial interface ............................................................................ 18 powering up the ad9834 ......................................................... 18 latency ......................................................................................... 18 control register ......................................................................... 18 frequency and phase registers ................................................ 20 writing to a frequency register ............................................... 21 writing to a phase register ....................................................... 21 reset function ......................................................................... 21 sleep function .......................................................................... 21 sign bit out pin .................................................................... 22 the iout and ioutb pins ...................................................... 22 applications information .............................................................. 23 grounding and la yout .................................................................. 26 interfacing to microprocessors ..................................................... 27 ad9834 to adsp - 21xx interface ............................................. 27 ad9834 to 68hc11/68l11 interface ....................................... 27 ad9834 to 80c51/80l51 interface .......................................... 28 ad9834 to dsp56002 interface ............................................... 28 outline dimensions ....................................................................... 29 ordering guide .......................................................................... 29 rev. d | page 2 of 32
data sheet ad9834 revision history 3/14 rev. c to rev. d changes to table 3 ............................................................................ 7 deleted evaluation board section ................................................ 29 changes to ordering guide ........................................................... 35 2 /11 rev. b to rev. c changes to i dd parameter, table 1 .................................................. 5 changes to fs adjust description, table 4 ................................ 8 added output voltage compliance section ................................ 17 changes to figure 31 ...................................................................... 23 changes to figure 32 ...................................................................... 24 deleted using the ad9834 evaluation board section and the prototyping area section ............................................................... 28 added system development platform section, ad9834 to sport interface section, figure 39, and figure 40 ; renumbered sequentially .............................................................. 29 changes to xo vs. external clock section and power supply section .............................................................................................. 29 deleted bill of materials, table 19; renumbered sequentially .............................................................. 30 added evaluation board schematics section and figure 41 .... 30 added figure 42 .............................................................................. 31 added evaluation board layout section and figure 43 ............ 3 2 added figure 44 .............................................................................. 3 3 ad ded figure 45 .............................................................................. 3 4 changes to ordering guide ........................................................... 35 4/10 rev. a to rev. b changes to comparator section ................................................... 15 added figure 28 .............................................................................. 16 changes to serial interface section .............................................. 17 8 /06 rev. 0 to rev . a updated f o r mat ................................................................. universal changed to 75 mhz complete dd s ............................... universal changes t o features se ction ............................................................ 1 changes to table 1 ............................................................................ 4 changes to table 2 ............................................................................ 6 changes to table 3 ............................................................................ 8 added figure 10 , figures renumbered sequentially ................... 9 added figure 16 and figure 17, figures renumbered sequentially ...................................................................................... 10 changes to table 6 .......................................................................... 19 changes to writing a frequ ency re gister s ection ..................... 2 0 changes to figure 29 ...................................................................... 21 changes to tabl e 19 ........................................................................ 30 changes to figure 38 ...................................................................... 28 2/03 revision 0: initial version rev. d | page 3 of 32
ad9834 data sheet specifications vdd = 2.3 v to 5.5 v, agnd = dgnd = 0 v, t a = t min to t max , r set = 6.8 k, r load = 200 for iout and ioutb, unless otherwise noted. table 1. grade b, grade c 1 parameter 2 min typ max unit test conditions/comments signal dac specifications resolution 10 bits update rate 75 msps i out full scale 3 3.0 ma v out max 0.6 v v out min 30 mv output compliance 4 0.8 v dc accuracy integral nonlinearity 1 lsb differential nonlinearity 0.5 lsb dds specifications dynamic specifications signal -to - noise ratio 55 60 db f mclk = 75 mhz, f out = f mcl k /4096 total harmonic distortion ? 66 ? 56 dbc f mclk = 75 mhz, f out = f mclk /4096 spurious - free dynamic range (sfdr) wideband (0 to nyquist) ? 60 ? 56 dbc f mclk = 75 mhz, f out = f mclk / 75 narrow band (200 khz) b g rade ? 78 ? 67 dbc f mclk = 50 mh z, f out = f mclk /50 c g rade ? 74 ? 65 dbc f mclk = 75 mhz, f out = f mclk / 75 clock feedthrough ? 50 dbc wake - up time 1 ms comparator input voltage range 1 v p -p ac - coupled i nternally input capacitance 10 pf input high - pass cutoff frequency 4 mhz input dc resistance 5 m input leakage current 10 a output buffer output rise/fall time 12 ns using a 15 pf l oad output jitter 120 ps rms 3 mhz s ine w ave , 0.6 v p -p voltage reference internal reference 1.12 1.18 1.24 v refout output impedance 5 1 k reference t emperature c oefficient 100 ppm/c logic inputs input high voltage , v inh 1.7 v 2.3 v to 2.7 v p ower s upply 2.0 v 2.7 v to 3.6 v p ower s upply 2.8 v 4.5 v to 5.5 v p ower s upply input low vo ltage , v inl 0.6 v 2.3 v to 2.7 v p ower s upply 0.7 v 2.7 v to 3.6 v p ower s upply 0.8 v 4.5 v to 5.5 v p ower s upply input current , i inh /i inl 10 a input capacitance , c in 3 pf rev. d | page 4 of 32
data sheet ad9834 grade b, grade c 1 parameter 2 min typ max unit test conditions/comments power supplies avdd 2.3 5.5 v f mclk = 75 mhz, f out = f mcl k /4096 dvdd 2.3 5.5 v i aa 6 3.8 5 ma i dd 6 b grade 2.0 3 ma i dd c ode d ependent ( s ee figure 8) c grade 2.7 3.7 ma i dd c ode d ependent (s ee figure 8) i aa + i dd 6 b grade 5.8 8 ma c grade 6.5 8.7 ma low power sleep mode b grade 0.5 ma dac p owered d own, mclk runnin g c grade 0.6 ma dac p owered d own, mclk running 1 b grade: mclk = 50 mhz; c grade: mclk = 75 mhz. for specifications that do not specify a grade, the value applies to both grades. 2 operating temperature range is as follow s: b , c v ersion s : ?40c to +105c, typical specifications are at 25c. 3 for compliance, with specified load of 200 , i out full sc ale should not exceed 4 ma. 4 guaranteed by design. 5 applies when refout is sourcing current. the impedance is higher when refout is sinking current. 6 measured with the digital inputs static and equal to 0 v or dvdd. r set 6.8k? iout 12 10-bit dac 20pf fs adjust ad9834 regulator 100nf cap/2.5v 10nf refout comp 10nf avdd sin rom r load 200? on-board reference full-scale control 02705-002 figure 2 . test circuit used to test the specifications rev. d | page 5 of 32
ad9834 data sheet timing characteristi cs dvdd = 2.3 v to 5.5 v, agnd = dgnd = 0 v, unless otherwise noted. table 2. parameter 1 limit at t min to t max unit test conditions/comment s t 1 20/ 13.33 ns min mclk p eriod: 50 mhz/75 mhz t 2 8/ 6 ns min mclk h igh d uration : 50 mhz/75 mhz t 3 8/ 6 ns min mclk l ow d uration : 50 mhz/75 mhz t 4 25 ns min sclk p eriod t 5 10 ns min sclk h igh d uration t 6 10 ns min sclk l ow d uration t 7 5 ns min fsync -to - sclk f alling e dge s etup t ime t 8 min 10 ns min fsync -to - sclk h old t ime t 8 max t 4 ? 5 ns max t 9 5 ns min data s etup t ime t 10 3 ns min data h old t ime t 11 8 ns min fselect, pselect s etup t ime before mclk r ising e dge t 11a 8 ns min fselect, pselect s etup t ime after mclk rising edge t 12 5 ns min sclk h igh to fsync f alling e dge s etup t ime 1 guaranteed by design, not productio n tested. timing diagrams mclk t 1 t 3 t 2 02705-003 figure 3 . master clock fselect, pselect valid data valid data valid data mclk t 11a t 11 02705-004 figure 4 . control timing d0 sclk fsync sdata d15 d14 d2 d1 d15 d14 t 12 t 7 t 6 t 8 t 5 t 4 t 9 t 10 02705-005 figure 5 . serial timing rev. d | page 6 of 32
data sheet ad9834 absolute maximum rat ings t a = 25 c, unless otherwise no ted. table 3. parameter ratings avdd to agnd ?0.3 v to +6 v dvdd to dgnd ?0.3 v to +6 v agnd to dgnd ?0.3 v to +0.3 v cap/2.5v 2.75 v digital i/o voltage to dgnd ?0.3 v to dvdd + 0.3 v analog i/o voltage to agnd ?0.3 v to avdd + 0.3 v operating temperature range industrial (b version) ?40c to +105c storage temperature range ?65c to +150c maximum junction temperature 150c tssop package ja thermal impedance 143c/w jc thermal impedance 45c/w lead temperature, soldering (10 sec) 300c ir reflow, peak temperature 220c reflow sol dering (pb - free) peak temperature 260c (+0/ C5) time at peak temperature 10 sec to 40 sec stresses above those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only; functional operation of the d evice at these or any other conditions above those indicated in the operational section of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. esd caution rev. d | page 7 of 32
ad9834 data sheet rev. d | page 8 of 32 pin configuration and fu nction descriptions 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 14 13 12 11 refout comp avdd dgnd cap/2.5v dvdd fs adjust iout agnd vin sclk fsync sign bit out pselect fselect mclk reset sleep sdata ioutb ad9834 top view (not to scale) 02705-006 figure 6. pin configuration table 4. pin function descriptions pin no. mnemonic description analog signal and reference 1 fs adjust full-scale adjust control. a resistor (r set ) is connected between this pin and agnd. this determines the magnitude of the full-scale dac current. the relationship between r set and the full-scale current is as follows: iout full scale = 18 fsadjust/r set fsadjust = 1.15 v nominal, r set = 6.8 k typical. 2 refout voltage reference output. the ad9834 has an internal 1.20 v reference that is made available at this pin. 3 comp dac bias pin. this pin is used for decoupling the dac bias voltage. 17 vin input to comparator. the comparator can be used to gene rate a square wave from the sinusoidal dac output. the dac output should be filtered appropriately before bein g applied to the comparator to improve jitter. when bit opbiten and bit sign/pib in the control register are se t to 1, the comparator input is connected to vin. 19, 20 iout, ioutb current output. this is a high impedance current source. a load resistor of nominally 200 should be connected between iout and agnd. ioutb should preferably be tied through an external load resistor of 200 to agnd, but it can be tied directly to agnd. a 20 pf capacitor to agnd is also recommended to prevent clock feedthrough. power supply 4 avdd positive power supply for the analog section. avdd can have a value from 2.3 v to 5.5 v. a 0.1 f decoupling capacitor should be connected between avdd and agnd. 5 dvdd positive power supply for the digital section. dvdd can have a value from 2.3 v to 5.5 v. a 0.1 f decoupling capacitor should be connected between dvdd and dgnd. 6 cap/2.5v the digital circuitry operates from a 2.5 v power supply. this 2.5 v is generated from dvdd using an on-board regulator (when dvdd exceeds 2.7 v). the regulator requires a decoupling capacitor of typically 100 nf that is connected from cap/2.5 v to dgnd. if dvdd is equal to or less than 2.7 v, cap/2.5 v should be shorted to dvdd. 7 dgnd digital ground. 18 agnd analog ground. digital interface and control 8 mclk digital clock input. dds output frequencies are expressed as a binary fraction of the frequency of mclk. the output frequency accuracy and phase no ise are determined by this clock. 9 fselect frequency select input. fselect controls which frequenc y register, freq0 or freq1, is used in the phase accumulator. the frequency register to be used can be selected using pin fselect or bit fsel. when bit fsel is used to select the frequency register, the fselect pin should be tied to cmos high or low. 10 pselect phase select input. pselect controls which phase register, phase0 or phase1, is added to the phase accumulator output. the phase register to be used can be selected using pin pselect or bit psel. when the phase registers are being controlled by bit psel, the pselect pin should be tied to cmos high or low. 11 reset active high digital input. reset resets appropriate internal registers to zero; this corr esponds to an analog output of midscale. reset does not affect any of the addressable registers. 12 sleep active high digital input. when this pin is high, the dac is powered down. this pin has the same function as control bit sleep12.
data sheet ad9834 pin n o. mnemonic description 13 sdata serial data input. the 16 - bit serial data - word is applied to this input. 14 sclk serial clock input. data is clocked into the ad9834 on each falling sclk edge. 15 fsync active low control input. this is the frame synchronization signal for the input data. when fsync is taken low, the internal logic i s informed that a new word is being loaded into the device. 16 sign bit out logic output. the comparator output is available on this pin or, alternatively, the msb from the nco can be output on this pin. setting b it opbiten in the control register to 1 en ables this output pin. bit sign/pib determines whether the comparator output or the msb from the nco is output on the pin. rev. d | page 9 of 32
ad9834 data sheet typical performance characteristics mclk frequency (mhz) 4.0 0 0 75 5v 3v t a = 25c i dd (ma) 3.5 3.0 2.5 2.0 1.5 1.0 0.5 15 30 45 60 02705-007 figure 7 . typical current consumption (i dd ) vs. mclk frequency 4.0 0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 f out (hz) i dd (ma) t a = 25c 5v 3v 100 1k 10k 100k 1m 10m 100m 02705-008 figure 8 . typical i dd vs. f out for f mclk = 50 mhz mclk frequency (mhz) sfdr (dbc) ?65 ?60 ?90 ?70 ?75 ?80 ?85 avdd = dvdd = 3v t a = 25c sfdr db mclk/50 sfdr db mclk/7 0 15 30 45 60 75 02705-009 figure 9 . narrow - band sfdr vs. mclk frequency 0 ?10 ?20 ?30 ?40 ?50 ?60 ?70 ?80 mclk frequency (mhz) sfdr (dbc) 0 10 20 30 40 50 60 70 f out = 1mhz sfdr db mclk/7 avdd = dvdd = 3v t a = 25c 02705-010 figure 10 . wideband sfdr vs. mclk frequency sfdr (dbc) 0 ?40 ?80 ?50 ?60 ?70 ?10 ?20 ?30 50mhz clock 30mhz clock avdd = dvdd = 3v t a = 25c f out /f mclk 0.001 0.01 0.1 1.0 10 100 02705-011 figure 11 . wideband sfdr vs. f out /f mclk for various mclk frequencies mclk frequency (mhz) snr (db) ?60 ?65 ?70 ?50 ?55 ?40 ?45 1.0 5.0 10.0 12.5 25.0 50.0 t a = 25c avdd = dvdd = 3v f out = mclk/4096 02705-012 figure 12 . snr vs. mclk frequency rev. d | page 10 of 32
data sheet ad9834 500 1000 700 650 600 550 850 750 800 900 950 5.5v 2.3v temperature (c) ?40 25 105 wake-up time (s) 02705-013 figure 13 . wake - up time vs. temperature 1.150 1.125 1.100 1.175 1.200 1.250 1.225 temperature (c) v (refout) (v) lower range upper range ?40 25 105 02705-014 figure 14 . v refout vs. tempe rature frequency (hz) (dbc/hz) ?150 ?110 ?100 ?120 ?130 ?140 ?160 avdd = dvdd = 5v t a = 25c 100 1k 10k 100k 200k 02705-015 figure 15 . output phase noise, f out = 2 mhz, mclk = 50 mhz 0 . 2 0 0 ?4 0 ?2 0 0 2 0 4 0 6 0 8 0 10 0 02705-037 t empe ra t ur e ( c ) dvdd (v) 0 . 1 8 0 . 1 6 0 . 1 4 0 . 1 2 0 . 1 0 0 . 0 8 0 . 0 6 0 . 0 4 0 . 0 2 d v dd = 3 . 3 v d v dd = 5 . 5 v d v dd = 2 . 3 v figure 16 . sign bit out low level , i sink = 1 ma 5 . 5 1 . 5 ?4 0 ?2 0 0 2 0 4 0 6 0 8 0 10 0 02705-038 t empe ra t ur e ( c ) dvdd (v) 5 . 0 4 . 5 4 . 0 3 . 5 3 . 0 2 . 5 2 . 0 d v dd = 2 . 3 v d v dd = 2 . 7 v d v dd = 3 . 3 v d v dd = 4 . 5 v d v dd = 5 . 5 v figure 17 . sign bit out high lev el, i sink = 1 ma frequency (hz) (db) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 rwb 100 st 100 sec vwb 30 0 100k 02705-016 fi gure 18 . f mclk = 10 mhz; f out = 2.4 khz, frequency word = 000fba9 rev. d | page 11 of 32
ad9834 data sheet frequency (hz) (db) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 0 5m rwb 1k st 50 sec vwb 300 02705-017 figure 19 . f mclk = 10 mhz; f out = 1.43 mhz = f mclk /7, frequency word = 2492492 frequency (hz) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 0 5m rwb 1k st 50 sec vwb 300 (db) 02705-018 figure 20 . f mclk = 10 mhz; f out = 3.33 mhz = f mclk /3, frequency word = 5555555 frequency (hz) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 0 160k rwb 100 st 200 sec vwb 30 (db) 02705-019 figure 21 . f mclk = 50 mhz; f out = 12 khz, frequency word = 000fba9 frequency (hz) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 0 1.6m rwb 100 st 200 sec vwb 300 (db) 02705-020 figure 22 . f mclk = 50 mhz; f out = 120 khz, frequency word = 009d496 frequency (hz) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 0 25m rwb 1k st 200 sec vwb 300 (db) 02705-021 figure 23 . f mclk = 50 mhz; f out = 1.2 mhz, frequency word = 0624dd3 frequency (hz) (db) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 0 25m rwb 1k st 200 sec vwb 300 02705-022 figure 24 . f mclk = 50 mhz; f out = 4.8 mhz, frequency word = 189374c rev. d | page 12 of 32
data sheet ad9834 frequency (hz) (db) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 0 25m rwb 1k st 200 sec vwb 300 02705-023 figure 25 . f mclk = 50 mhz; f out = 7.143 mhz = f mclk /7, frequency word = 2492492 frequency (hz) (db) 0 ?20 ?50 ?90 ?100 ?80 ?70 ?60 ?40 ?30 ?10 0 25m rwb 1k st 200 sec vwb 300 02705-024 figure 26 . f mclk = 50 mhz; f out = 16.667 mhz = f mclk /3, frequency word = 5555555 rev. d | page 13 of 32
ad9834 data sheet rev. d | page 14 of 32 terminology integral nonlinearity (inl) inl is the maximum deviation of any code from a straight line passing through the endpoints of the transfer function. the endpoints of the transfer function are zero scale, a point 0.5 lsb below the first code transition (000 . . . 00 to 000 . . . 01), and full scale, a point 0.5 lsb above the last code transition (111 . . . 10 to 111 . . . 11). the error is expressed in lsbs. differential nonlinearity (dnl) dnl is the difference between the measured and ideal 1 lsb change between two adjacent codes in the dac. a specified dnl of 1 lsb maximum ensures monotonicity. output compliance the output compliance refers to the maximum voltage that can be generated at the output of the dac to meet the specifications. when voltages greater than that specified for the output com- pliance are generated, the ad9834 may not meet the specifications listed in the data sheet. spurious-free dynamic range (sfdr) along with the frequency of interest, harmonics of the fundamental frequency and images of these frequencies are present at the output of a dds device. the sfdr refers to the largest spur or harmonic present in the band of interest. the wideband sfdr gives the magnitude of the largest harmonic or spur relative to the magnitude of the fundamental frequency in the 0 to nyquist bandwidth. the narrow-band sfdr gives the attenuation of the largest spur or harmonic in a bandwidth of 200 khz about the fundamental frequency. total harmonic distortion (thd) thd is the ratio of the rms sum of harmonics to the rms value of the fundamental. for the ad9834 , thd is defined as 1 65432 v vvvvv thd 22222 log20 ???? ? where v 1 is the rms amplitude of the fundamental and v 2 , v 3 , v 4 , v 5 , and v 6 are the rms amplitudes of the second harmonic through the sixth harmonic. signal-to-noise ratio (snr) snr is the ratio of the rms value of the measured output signal to the rms sum of all other spectral components below the nyquist frequency. the value for snr is expressed in decibels. clock feedthrough there is feedthrough from the mclk input to the analog output. clock feedthrough refers to the magnitude of the mclk signal relative to the fundamental frequency in the output spectrum of the ad9834 .
data sheet ad9834 theory of operation sine waves are typically thought of in terms of their magnitude form a(t) = sin ( t). however, these are nonlinear and not easy to generate except through piecewise construction. on the other ha nd, the angular information is linear in nature , t hat is, the phase angle rotates through a fixed angle for each unit of time. the angular rate depends on the frequency of the signal by the traditional rate of = 2 f . magnitude phase +1 0 ?1 2p 0 2 4 6 2 4 6 02705-025 figure 27 . sine wave knowing that the phase of a sine wave is linear and given a reference interval (clock period), the phase rotation for that period can be determined. ? phase = ? t solving for , = ? phase /?t = 2 f solving for f and substituting the reference clo ck frequency for the reference period (1/ f mclk = ? t ) , f = ? phase f mclk / 2 the ad9834 builds the output based on this simple equation. a simple dds chip can implement this equation with three ma jor subcircuits: n umerically c ontrolled o scillator + p hase m odulator, si n rom, and d igital - to - a nalog c onvert e r (dac) . each of these subcircuits is discussed in the circuit description section . rev. d | page 15 of 32
ad9834 data sheet circuit description t he ad9834 is a fully integrated d irect d igital sy nthesis (dds) chip. the chip requires one reference clock, one low precision res istor, and eight decoupling capacitors to provide digit ally created sine waves up to 37.5 mhz. in addition to the generatio n of this rf signal, the chip is fully capable of a broad range of simple and complex modulation schemes. these modulation schemes are fully implemented in the digital domain, allowing accurate and simple realiza tion of complex modulation algorithms using dsp techniques. the internal circuitry of the ad9834 consists of the following main sections: a n umerically c ontrolled o scillator (nco), f requency and p hase m od ulators, sin rom, a dac , a c omparator, and a r egulator. numerically controll ed oscillator plus phase modulator this consists of two frequency select registers, a phase accumulator, two phase offset registers, and a phase offset adder. the main com ponent of the nco is a 28 - bit phase accumulator. continuous time signals have a phase range of 0 to 2 . outside this range of numbers, the sinusoid functions repeat themselves in a periodic manner. the digital implementation is no differe nt. the accumulator simply scales the range of phase numbers into a multibit digital word. the phase accumulator in the ad9834 is implemented with 28 bits. therefore, in the ad9834 , 2 = 2 28 . likewise, the ? phase term is scaled into this range of numbers: 0 < ? phase < 2 28 ? 1. making these substitutions into the previous equation f = ? phase f mclk /2 28 where 0 < ? phase < 2 28 ? 1. the input to the phase accumulator can be selected either from the freq0 re gister or freq1 r egister and is controlled b y the fselect pin or the fsel bit. ncos inherently generate con - tinuous phase signals, thus avoiding any output discontinuity when switching between frequencies. following the nco, a phase offset can be added to perform phase modulation using the 12 - bit p hase registers. the contents of one of these phase registers is added to the msbs of the nco. the ad9834 has two phase registers, the resolution of these registers being 2 /4096. sin rom to make the output from the nco useful, it must be converted from phase information into a sinusoidal value. p hase informa - tion maps directly into amplitude ; therefore , the sin rom uses the digital phase information as an address to a l ook - up table and converts the phase information into amplitude. although the nco contains a 28 - bit phase accumulator, the output of the nco is truncated to 12 bits. using the full resolu - tion of the phase accumulator is impractical and unnecessary because it requires a look - up table of 2 28 entries. it is necessary only to have sufficient phase resolution such that the errors due to truncation are smaller than the resolution of the 10 - bit dac. this requires the sin rom to have two bits of phase resolution m ore than the 10 - bit dac. the sin rom is enabled using the opbiten and mode bits in the control register. this is explained further in table 18. digital - to- analog converter (dac) the ad9834 includes a high impedance current source 10 - bit dac capable of driving a wide range of loads. the full - scale output current can be adjusted for optimum power and external load requirements us ing a single external resistor (r set ). the d ac can be configured for either single - ended or differential operation. iout and ioutb can be connected through equal external resistors to agnd to develop complementary output voltages. the load resistors c an be any value required, as long as the full - sca le voltage developed across it does not exceed the voltage compliance range. becaus e full - scale current is controlled by r set , adjustments to r set can balance changes made to the load resistors. comparator the ad9834 can be used to generate synthesized digital clock signals. this is accomplished by using the on - board self - biasing c omparator that converts the sinusoidal signal of the dac to a square wave. the output from the dac can be filtered ext ernally before being applied to t he comparator input. the comparator reference voltage is the time average of the signal applied to v in . the comparator can accept signals in the range of approximately 100 mv p - p to 1 v p - p. as the comparator input is ac - co upled, to operate correctly as a zero crossing detector, it requires a minimum input frequen cy of typically 3 mhz. the comparator outpu t is a square wave with an amplitude from 0 v to dvdd. rev. d | page 16 of 32
data sheet ad9834 the ad9834 is a sampled signal with its output following nyquist sampling theorem. specifically, its output spectrum contains the fundamental plus aliased signals (images) that occur at multiples of the reference clock frequency and the selected output freq uency. a graphical representation of the sampled spectrum, with aliased images, is shown in figure 28 . the prominence of the aliased images is dependent on the ratio of f out to mclk. if ratio is small , the aliased images are very prominent and of a relatively high ene rgy level as determined by the sin(x)/x roll - off of the qu antized dac output. in fact, depending on the f out /reference clock relationship, the first aliased image can be on the order of ? 3 db below the fundamental. a low - pass filter is generally pla ced between the output of the d a c and the input of the comparator to further suppress the effects of aliased images. obviously, consideration must be given to the relationship of the selected o utput frequency and the reference clock frequency to avoid unwanted (and unexpected) outp ut anomalies. to apply the ad9834 as a clock generator, limit the selected output frequency to <33% of ref erence clock frequency, and thereby avoid generating aliased signals that fall within, or close to, the output band of interest (generally dc - selected output frequency). this practice eases the complexity (and cost) of the external filter requirement for t he clock generator application. refer to the an - 837 application note for more inform ation . to enable the comparator, bit sign/pib and bit opbiten in the control resister are set to 1 . this is expla ined further in table 17. regulator the ad9834 has separate power supplies for the analog and digital sections. avdd provides the power supply required for the analog s ection, and dvdd provides the power supply for the digital section. both of these supplies can have a value of 2.3 v to 5.5 v and are independent of each other. for example, the analog section can be operated at 5 v, and the digital section can be operated at 3 v, or vice versa. the internal digital section of the ad9834 is operated at 2.5 v. an on - board regulator steps down the voltage applied at dvdd to 2.5 v. the digital interface (serial port) of the ad9834 also operates from dvdd. these digital signals are level shifted within the ad9834 to make them 2.5 v compatible. when the applied voltage at the dvdd pin of the ad9834 is equal to or less than 2.7 v, pin cap/2.5v and pin dvdd should be tied together, thus bypassing the on - board regulator. output voltage compl ian ce the ad9834 has a maximum current density, set by the r set , of 4 ma. the maximum output voltage from the ad9834 is v dd ? 1.5 v. this is to ensure that the output impedance of the internal switch does not change, affecting the spect ral performance of the part. f or a minimum supply of 2.3 v , the maximum output voltage is 0.8 v. specifications in table 1 are guar anteed with an r set of 6.8 k ? and an r load of 200 ? . 02705-040 system clock f out f c ? f out f c + f out 2 f c ? f out 2 f c + f out 3 f c ? f out 3 f c + f out f c 0hz first image second image third image fourth image fifth image sixth image 2 f c 3 f c frequency (hz) signal amplitude sin x/x envelope x = ( f / f c ) figure 28 . the dac output spectrum rev. d | page 17 of 32
ad9834 data sheet functional descripti on serial interface the ad9834 has a standard 3 - wire serial interface that is com - p atible with spi, qspi ? , microwire?, and dsp interface standards. data is loaded into the device as a 16 - bit word under the c ontrol of a serial clock input ( sclk) . the timing diagram for this operation is given in figure 5 . for a detailed example of programming the ad9833 and ad9834 devices, refer to the an- 1070 application note . the fsync input is a level triggered input that acts as a frame synchronization and chip enable. data can only be transferred into the device when fsync is low. to start the serial data transfer, fsync should be taken low, observ ing the minimum fsync - to - sclk falling edge setup tim e ( t 7 ) . after fsync goes low, serial data is shifted into the input shift register of the device on the falling edges of sclk for 16 clock pulses. fsync can be taken high after the 16th falling edge of sc lk, observing the minimum sclk falling edge to fsync rising edge time (t 8 ) . alternatively, fsync can be kept low for a multiple of 16 sclk pulses and then brought high at the end of the data transfer. in this way, a continuous stream of 16 - bit words can be loaded while fsync is held low, with fsync only going high after the 16th sclk falling edge of the last word is loaded. the sclk can be continuous, or alternatively, the sclk can idle high or low between write operations but must be high when fsync goes l ow (t 12 ). powering up the ad9834 the flow chart in figure 31 shows the operating routine for the ad9834 . whe n the ad9834 is powered up, the part should be reset. this reset s appropriate internal registers to 0 to provide an analog output of midscale. to avoid spurious dac outputs during ad9834 i nitialization , the reset bit/pin should be set to 1 until the part is ready to begin generating an output. reset does not reset the phase, frequency, or control registers. these registers contain invali d data, and , therefore , should be set to a known value by the user. the reset bit/pin should then be set to 0 to begin generating an output. the data appear s on the dac output eight mclk cycles after reset is set to 0 . latency latency is a ssociated with ea ch op eration. when pin fselect and pin pselect change value, there is a pipeline delay before control is transferred to the selected register. when the t 11 and t 11a timing specifications are met (see figure 4 ), fselect and pselec t have latencies of eight mclk cycles. when the t 11 and t 11a timing specifications are not met, the latency is increased by one mclk cycle. similarly, there is a latency associated with each asynchronous write operation. if a selected frequency/phase regi ster is loaded with a new word, there is a delay of eight to nine mclk cycle s before the analog output change s. there is an uncertainty of one mclk cycle because it depends on the position of the mclk rising edge when the data is loaded into the destinatio n register. the negative transition of the reset and sleep functions are sampled on the internal falling edge of mclk . therefore, they also have a latency associated with them. control register the ad9834 contains a 16 - bit control register that sets up the ad9834 as the user w ant s to operate it. all control bits, except mode, are sampled on the internal negative edge of mclk. table 6 describes the individual bits of the control register. the different functions and the various output options from the ad9834 are described in more detail in the frequency and phase registers section. to inform the ad9834 that the contents of the control register are to be altered, d b 15 and d b 14 must be set to 0 as shown in table 5 . table 5 . control register db 15 db 14 db 13 . . . db0 0 0 control bits rev. d | page 18 of 32
data sheet ad9834 m u x s l eep 1 2 s l eep1 o p b i t en io u t b io u t c o mp ara t o r v i n s ig n / p i b m u x msb s ig n b i t o u t 0 1 m u x 1 0 0 1 d igi t a l o u t p u t (e nab l e) ( l o w p o w e r ) 10 - b i t da c d i v i d e b y 2 s i n r o m m o d e + o p b i t en p ha se accu m u l a t o r ( 28 - b i t ) 02705-026 figure 29 . function of control bits db15 db14 db13 db12 db11 db10 db9 db8 db7 db6 db5 db4 db3 db2 db1 db0 0 0 b28 hlb fsel psel pin/sw reset sleep1 sleep12 opbiten sign/pib div2 0 mode 0 table 6. description of bits in the control register bit name description db13 b28 two write operations are required to load a complete word into ei ther of the frequency registers. b28 = 1 allows a complete word to be loaded into a frequency register in two consecutive writes. the first write contains the 14 lsbs of the frequency word and the next write contains the 14 msbs. the first two bits of each 16 - bit word define the frequency register the word is loaded to and should, therefore, be the same for both of the consecutive writes. refer to table 10 for the appropriate addresses. the write to the frequency register occur s after both words have been loaded. an example of a complete 28 - bit write is shown in table 11 . note however, that consecutive 28 - bit writes to the same frequency register are not allowed, switch between frequency registers to do this type of function. b28 = 0, the 28 - bit frequency register operates as two 14 - bit registers, one containing the 14 msbs and the other containing the 14 lsbs. this means that the 14 msbs of the frequency word can be altered independent of the 14 lsbs , and vice versa. to alter the 14 msbs or the 14 lsbs, a single write is made to the appropriate frequency address. the control bit db12 (hlb) informs the ad9834 whether the bits to be altered ar e the 14 msbs or 14 lsbs. d b 12 hlb this control bit allows the user to continuously load the msbs or lsbs of a frequency register ignoring the remaining 14 bits. this is useful if the complete 28 - bit resolution is not required. hlb is used in conjunctio n with d b 13 (b28). this control bit indicates whether the 14 bits being loaded are being transferred to the 14 msbs or 14 lsbs of the addressed frequency register. d b 13 (b28) must be set to 0 to be able to change the msbs and lsbs of a frequency word separ ately. when d b 13 (b28) = 1, this control bit is ignored. hlb = 1 allows a write to the 14 msbs of the addressed frequency register. hlb = 0 allows a write to the 14 lsbs of the addressed frequency register. d b 11 fsel the fsel bit defines whethe r the freq0 r egister or the freq1 r egister is used in the phase accumulator. see table 8 to select a frequency register. d b 10 psel the psel bit defines whether the phase0 r egister data or the phase1 r egister data is added to t he output of the phase accumulator. see table 9 to select a phase register. d b 9 pin/sw functions that select frequency and phase registers, reset internal registers, and power down the dac can be implemented using either softw are or hardware. pin/sw selects the source of control for these functions. pin/sw = 1 implies that the functions are being controlled using the appropriate control pins. pin/sw = 0 implies that the functions are being controlled using the appropria te control bits. d b 8 reset reset = 1 resets internal registers to 0 , this corresponds to an analog output of midscale. reset = 0 disables reset. this function is explained in the reset function section. d b 7 sleep1 sleep 1 = 1, the internal mclk is disabled. the dac output remain s at its present value as the nco is no longer accumulating. sleep1 = 0, mclk is enabled. thi s function is explained in the sleep function section. d b 6 sleep12 slee p12 = 1 powers down the on - chip dac. this is useful when the ad9834 is used to output the msb of the dac data. sleep12 = 0 implies that the dac is active. this fu nction is explained in the sleep function section. rev. d | page 19 of 32
ad9834 data sheet bit name description d b 5 opbiten the function of this bit is to control whethe r there is an output at the sign bit out pin . this bit should remain at 0 i f the user is not using the sign bit out pin . opbi ten = 1 enables the sign bit out pin . opbiten = 0, the sign bit out output buffer is put into a high impedance state, therefore no output is available at the sign bit out pin. d b 4 sign / pib the function of this bit is to control what is output at the sign bit out pin . sign/pib = 1, the on - board comparator is connected to sign bit out. after filtering the sinusoidal output from the dac, the waveform can be applied to the comparator to generate a square waveform. refer to table 17. sign/ pib = 0, the msb (or msb/2) of the d ac data is connected to the sign bit out pin. b it div2 controls whether it is the msb or msb/2 that is output. d b 3 div2 div2 is used in association with sign/pib and opbiten. refer to table 1 7 . div2 = 1, the digital output is passed directly to the sign bit out pin. div2 = 0, the digital output/2 is passed directly to the sign bit out pin. d b 2 reserved this bit must always be set to 0 . d b 1 mode the function of this bit is to c on trol what is output at the iout pin/ioutb pin . this bit sho uld be set to 0 if the control b it opbiten = 1. mode = 1, the sin rom is bypassed, resulting in a triangle output from the dac. mode = 0, the sin rom is used to convert the phase informat ion into amplitude information, resulting in a sinusoidal signal at the output. s ee table 18. d b 0 reserved this bit must always be set to 0 . frequency and phase registers the ad9834 contains two frequency registers and two phase registers. these are described in table 7 . table 7. frequency/phase registers register size description freq0 28 b its frequency regi ster 0 . when either the fsel bit or fselect pin = 0, this register defines the output frequency as a fraction of the mclk frequency. freq1 28 b its frequency register 1 . when either the fsel bit or fselect pin = 1, this register defines the output frequ ency as a fraction of the mclk frequency. phase0 12 b its phase offset register 0 . when either the psel bit or pselect pin = 0, the contents of this register are added to the output of the phase accumulator. phase1 12 b its phase offset register 1 . w hen either the psel bit or pselect pin = 1, the contents of this register are added to the output of the phase accumulator. the a nalog output from the ad9834 is f mclk /2 28 freqreg where freqre g is the value loaded into the selected frequen cy register. this signal is phase shifted by 2/4096 phasereg where phasereg is the value contained in the selected phase register. consideration must be given to the relationship of the selected output freq uency and the reference clock frequency to avoid unwanted output anomalies. access to the frequency and phase registers is controlled by both the fselect and pselect pins , and the fsel and psel control bits. if the c ontrol b it pin/sw = 1, the pins control the function; whereas, if pin/sw = 0, the bits control the function. this is outlined in table 8 and table 9 . if the fsel and psel bits are used, the pins should be held at cmos logic high or low. contro l of the frequency/phase registers is inter c hange able from the pins to the bits. table 8 . selecting a frequency register fselect fsel pin/sw selected register 0 x 1 freq0 reg 1 x 1 freq1 reg x 0 0 freq0 reg x 1 0 freq1 reg table 9. selecting a phase register pselect psel pin/sw selected register 0 x 1 phase0 reg 1 x 1 phase1 reg x 0 0 phase0 reg x 1 0 phase1 reg the fselect pin and pselect pin are sampled on th e internal falling edge of mclk. it is recommended that the data on these pins does not change within a time window of the falling edge of mclk (see figure 4 for timing). if fselect or pselect changes value when a falling edge occ urs, there is an uncertainty of one mclk cycle because it pertains to when control is transferred to the other frequency/phase register. the flow charts in figure 32 and figure 33 show the routine for selecting and writing to the f requency and phase registers of the ad9834 . rev. d | page 20 of 32
data sheet ad9834 writing to a frequen cy register when writi ng to a frequency register, bit d b 15 and bit d b 14 give the address of the frequ ency register. table 10 . frequency register bits d b 15 d b 14 d b 1 3 . . . d b 0 0 1 14 freq0 reg bits 1 0 14 freq1 reg bits if the user w ants to alter the entire contents of a frequency register, two consecutive writes to the same address must be performed because the frequency registers are 28 bits wide. the first write contain s the 14 ls bs, and the second write contain s the 14 msbs. for this mode of operation, c ontrol b it b28 (db 13) should be set to 1 . an example of a 28 - bit write is shown in table 11. note however that continuous writes t o the same frequency register are not recommended . this result s in intermediate updates during th e writes. if a frequency sweep, or something similar , is requ ired, i t is recommended that users alternate between the two freque ncy registers. table 11 . writing fffc000 to freq0 reg sdata input result of input word 0010 0000 0000 0000 control w ord w rite (d b 15, d b 14 = 00), b28 (d b 13) = 1, hlb ( d b 12) = x 0100 0000 0000 0000 freq0 reg w rite (d b 15, d b 14 = 01), 14 lsbs = 0000 0111 1111 1111 1111 freq0 reg w rite (d b 15, d b 14 = 01), 14 msbs = 3fff in some applications, the user does not need to alter all 28 bits of the frequency register. with coarse tuning, only the 14 msbs are altered ; though with fine tuning only the 14 lsbs are altered. by setting c ontrol b it b28 (d b 13) to 0 , the 28 - bit frequency register operates as two 14 - bit registers, one containing the 14 msbs and the other containing t he 14 lsbs. this means that the 14 msbs of the frequency word can be altered independent of the 14 lsbs, and vice versa. bit hlb (d b 12) in the control register identifies the 14 bits that are being altered. examples of this are shown in table 12 and table 13. table 12 . writing 3fff to the 14 lsbs of freq1 reg sdata input result of input word 0000 0000 0000 0000 control w ord w rite (d b 15, d b 14 = 00), b28 (d b 13) = 0, hlb (d b 12) = 0, that is, lsbs 1011 1111 1111 1111 freq1 reg w rite (d b 15, d b 14 = 10), 14 lsbs = 3fff table 13. writing 00ff to the 14 msbs of freq0 reg sdata input result of input word 0001 0000 0000 0000 control word write (d b 15, d b 14 = 00), b28 (d b 13) = 0, hlb (d b 12) = 1, that is, msbs 0100 0000 1111 1111 freq0 reg w rite (d b 15, d b 14 = 01), 14 msbs = 00ff writing to a phase r egister when writing to a phase register, bit d b 15 and bit d b 14 are set to 11. bit d b 13 identifies which phase register is being loaded. table 14. phase register bits d b 15 d b 14 d b 13 d b 12 d b 11 d b 0 1 1 0 x msb 12 phase0 bits lsb 1 1 1 x msb 12 phase1 bits lsb reset function the reset function resets appropriate int ernal registers to 0 to provide an analog output of midscale. reset does not reset the phase, frequency, or control registers. when the ad9834 is powered up, the part should be reset. to reset th e ad9834 , set the reset pin/bit to 1 . to take the part out of reset, set the pin/bit to 0 . a signal appear s at the dac output seven mclk cycles after reset is set to 0 . the reset function is cont rolled by both the reset pin and the reset control bit. if the control b it pin/sw = 0, the reset bit controls the function, whereas if pin/sw = 1, the reset pin controls the function. table 15. applying reset reset pin reset bit p in/sw bit result 0 x 1 no r eset a pplied 1 x 1 internal r egisters r eset x 0 0 no r eset a pplied x 1 0 internal r egisters r eset the effect of asserting the reset pin is evident immediately at the output, that is, the zero - to - one transition of this pin is not sampled. however, the negative transition of reset is sampled on the internal falling edge of mclk. sleep function sections of the ad9834 that are not in use can be powered down to min imize power consumption by using the sleep function. the parts of the chip that can be powered down are the internal clock and the dac. the dac can be powered down through hardware or software. the pin/bits required for the sleep function are outlined in table 16. rev. d | page 21 of 32
ad9834 data sheet table 16. applying the sleep function sleep pin sleep1 bit sleep12 bit pin/sw bit result 0 x x 1 no p ower - d own 1 x x 1 dac p owered d own x 0 0 0 no p ower - d own x 0 1 0 dac p owered d own x 1 0 0 internal clock d isabled x 1 1 0 both the dac p owered d own and t he internal clock disabled dac powered down this is useful when the ad9834 is used to output the msb of the dac data only. in this case, the dac is not required and can be powered down to reduce power consumption. internal clock disabled when the internal clock of the ad9834 is disabl ed , the dac output remain s at its present value because the nco is no longer accumulating. new frequency, phase, and control words can be written to the part when the sleep1 control bit is active. the synchronizing clock remains active, meaning that the sele cted frequency and phase registers can also be changed either at the pins or by using the control bits. setting the sleep1 bit to 0 enables the mclk. any changes made to the register s wh en sleep1 i s active are observed at the output after a certain latency . the effect of asserting the sleep pin is evident immediately at the output, that is, the zero - to - one transition of this pin is not sampled. however, the negative transition of sleep is sampled on the internal falling edge of mclk. sign bit out pin the ad9834 offers a variety of outputs from the chip. the digital outputs are available from the sign bit out pin. the available outputs are the comparator output or the msb of the dac data. the bits c ontrolling the sign bit out pin are outlined in tabl e 17. this pin must be enabled before use. the enabling/disabling of this pin is controlled by the b it opbiten (d b 5) in the control register. when opbiten = 1, this pin is enable d. note that the mode bit (d b 1) in the control register should be set to 0 if opbiten = 1. comparator output the ad9834 has an on - board comparator. to connect this comparator to the sign bit out pin, the sign/pib (d b 4) control bit must be set to 1 . after filtering the sinusoidal output from the dac, the waveform can be applied to the comparator to generate a square waveform. msb from the nco the msb from the nco can be output from the ad9834 . by setting the sign/pib (d b 4) control bit to 0 , the msb of the dac data is available at the sign bit out pin. this is useful as a coarse clock source. this square wave can also be divided b y t wo befo re being output. b it div2 (d b 3) in the control register controls the frequency of this output from the sign bit out pin. table 17 . various outputs from sign bit out opbiten bit mode bit sign / pib bit div2 bit sign bit out pin 0 x x x high i mpedance 1 0 0 0 dac d ata msb/2 1 0 0 1 dac d ata msb 1 0 1 0 reserved 1 0 1 1 comparator o utput 1 1 x x reserved the iout and ioutb pins the analog outputs from the ad9834 are available from the iout and i outb pins. the available outputs are a sinusoidal output or a triangle output. sinusoidal output the sin rom convert s the phase information from the frequency and phase registers in to amplitude inf ormation, resulting in a sinusoidal signal at the output. to have a sinusoidal output from the iout and ioutb pins, set b it mode (d b 1) to 0. triangle output the sin rom can be bypassed so that the truncated digital output from the nco is sent to the dac. i n this case, the output is no longer sinusoidal. the dac produce s 10- bit linear triangular function. to have a triangle output from the iou t and ioutb pins, set b it mode (d b 1) to 1. note that the sleep pin and sleep12 bit must be 0 ( that is, the dac is ena bled) when using the iout and ioutb pins. table 18. various outputs from iout and ioutb opbiten bit mode bit iout and ioutb pins 0 0 sinusoid 0 1 triangle 1 0 sinusoid 1 1 reserved 3/2 7/2 11/2 v out max v out min 02705-027 figure 30 . triangle output rev. d | page 22 of 32
data sheet ad9834 rev. d | page 23 of 32 applications information because of the various output options available from the part, the ad9834 can be configured to suit a wide variety of applications. one of the areas where the ad9834 is suitable is in modulation applications. the part can be used to perform simple modulation such as fsk. more complex modulation schemes such as gmsk and qpsk can also be implemented using the ad9834. in an fsk application, the two frequency registers of the ad9834 are loaded with different values. one frequency represents the space frequency, and the other represents the mark frequency. the digital data stream is fed to the fselect pin, causing the ad9834 to modulate the carrier frequency between the two values. the ad9834 has two phase registers, enabling the part to perform psk. with phase shift keying, the carrier frequency is phase shifted, the phase being altered by an amount that is related to the bit stream that is input to the modulator. the ad9834 is also suitable for signal generator applications. with the on-board comparator, the device can be used to generate a square wave. with its low current consumption, the part is suitable for applications where it is used as a local oscillator. change phase? change frequency? no no no no yes no yes yes no yes yes yes yes yes dac output v out = v refout 18 r load /r set (1 + (sin(2 (freqreg f mclk t/2 28 + phasereg/2 12 )))) initialization see figure 32 select data sources see figure 34 wait 8/9 mclk cycles see timing diagram figure 3 change psel/ pselect? change phase register? change dac output from sin to ramp? change output at sign bit out pin? change fsel/ fselect? change frequency register? control register write data write see figure 33 02705-028 figure 31. flow chart for initialization and operation
ad9834 data sheet initialization apply reset using pin set reset pin = 1 using pin using control bit (control register write) reset = 1 pin/sw = 0 (control register write) pin/sw = 1 using control bit set reset = 0 select frequency registers select phase registers (control register write) reset bit = 0 fsel = selected frequency register psel = selected phase register pin/sw = 0 (apply signals at pins) reset pin = 0 fselect = selected frequency register pselect = selected phase register write to frequency and phase registers freq0 reg = f out0 /f mclk 2 28 freq1 reg = f out1 /f mclk 2 28 phase0 and phase1 reg = (phaseshift 2 12 )/2 (see figure 33) 02705-029 figure 32 . initializa tion no yes data write no yes yes no yes no no yes yes write a full 28-bit word to a frequency register? (control register write) b28 (d13) = 1 write two consecutive 16-bit words (see table 11 for example) write another full 28-bit to a frequency register? write 14 msbs or lsbs to a frequency register? (control register write) b28 (d13) = 0 hlb (d12) = 0/1 write a 16-bit word (see tables 12 and 13 for examples) write 14 msbs or lsbs to a frequency register? write to phase register? d15, d14 = 11 d13 = 0/1 (choose the phase register) d12 = x d11 ... d0 = phase data (16-bit write) write to another phase register? 02705-030 figure 33 . data write rev. d | page 24 of 32
data sheet ad9834 select data sources yes no fselect and pselect pins being used? (control register write) pin/sw = 0 set fsel bit set psel bit set fselect and pselect (control register write) pin/sw = 1 02705-031 fi gure 34 . selecting data sources rev. d | page 25 of 32
ad9834 data sheet grounding and layout the printed circuit board (pcb) that houses the ad9834 should be designed so that the analog and digital sections are separated and confined to certain areas of the board. this facilitates the use of ground planes that can easily be separated. a minimum etch technique is generally best for ground planes becau se it gives the best shielding. digital and analog ground planes should only be joined in one place. if the ad9834 is the only device requiring an agnd - to - dgnd connection, the ground planes shoul d be connected at the agnd and dgnd pins of the ad9834 . if the ad9834 is in a system where multiple devices require agnd - to - dgnd conne ctions, the connection should be made at one point only, establishing a star ground point as close as possible to the ad9834 . avoid running digital lines under the device because these couple noi se onto the die. the analog ground plane should be allowed to run under the ad9834 to avoid noise coupling. the power supply lines to the ad9834 should use as large a track as possible to provide low impedance paths and reduce the effects of glitches on the power supply line. fast switching signals, such as clocks, should be shielded with digital ground to avoid radiating noise to other sections of the board. avoid crossover of digital and analog signals. traces on opposite sides of the board should run at right angles to each other to reduce the effects of feed - through through the board. a microstrip technique is by far the best , but it is not always possible with a double - sided board. in this technique, the component side of the board is dedicated to ground planes and signals are placed on the other side. good decoupling is important. the analog and digital supplies to the ad9834 are independent and separately pinned out to minimize coupling between analog and digital sections of the device. all analog and digital supplies should be decoupled to agnd and dgnd, respectively, wit h 0.1 f ceramic capacitors in parallel with 10 f tantalum capacitors. to achieve the best performance from the decoupling capacitors, they should be placed as close as possible to the device, ideally right up against the device. in systems where a common supply is used to drive both the avdd and dvdd of the ad9834 , it is recommended that the systems avdd supply be used. this supply should have the recommended analog supply decoupling between th e avdd pins of the ad9834 and agnd, and the recommended digital supply decoupling capacitors between the dvdd pins and dgnd. proper operation of the comparator requires good layout strategy. the strategy must minimize the parasitic capacitance between vin and the sign bit out pin by adding isolation using a ground plane. for example, in a multilayered board, the vin signal could be connected to the top layer , and the sign bit out could be connect ed to the bottom layer so that isolation is provided by the power and ground planes between them . rev. d | page 26 of 32
data sheet ad9834 rev. d | page 27 of 32 interfacing to microprocessors the ad9834 has a standard serial interface that allows the part to interface directly with several microprocessors. the device uses an external serial clock to write the data/control information into the device. the serial clock can have a frequency of 40 mhz maximum. the serial clock can be continuous, or it can idle high or low between write operations. when data/control information is being written to the ad9834 , fsync is taken low and is held low until the 16 bits of data are written into the ad9834. the fsync signal frames the 16 bits of information being loaded into the ad9834 . ad9834 to adsp-21xx interface figure 35 shows the serial interface between the ad9834 and the adsp-21xx . the adsp-21xx should be set up to operate in the sport transmit alternate framing mode (tfsw = 1). the adsp-21xx is programmed through the sport control register and should be configured as follows: ? internal clock operation (isclk = 1) ? active low framing (invtfs = 1) ? 16-bit word length (slen = 15) ? internal frame sync signal (itfs = 1) ? generate a frame sync for each write (tfsr = 1) transmission is initiated by writing a word to the tx register after the sport has been enabled. the data is clocked out on each rising edge of the serial clock and clocked into the ad9834 on the sclk falling edge. 1 additional pins omitted for clarity. ad9834 1 fsync sdata sclk tfs dt sclk adsp-21xx 1 02705-032 figure 35. adsp-21xx to ad9834 interface ad9834 to 68hc11/68l11 interface figure 36 shows the serial interface between the ad9834 and the 68hc11/68l11 microcontroller. the microcontroller is configured as the master by setting bit mstr in the spcr to 1, providing a serial clock on sck while the mosi output drives the serial data line sdata. because the microcontroller does not have a dedicated frame sync pin, the fsync signal is derived from a port line (pc7). the setup conditions for correct operation of the interface are as follows: ? sck idles high between write operations (cpol = 0) ? data is valid on the sck falling edge (cpha = 1) when data is being transmitted to the ad9834 , the fsync line is taken low (pc7). serial data from the 68hc11/68l11 is transmitted in 8-bit bytes with only eight falling clock edges occurring in the transmit cycle. data is transmitted msb first. to load data into the ad9834 , pc7 is held low after the first eight bits are transferred and a second serial write operation is performed to the ad9834. only after the second eight bits have been transferred should fsync be taken high again. 1 additional pins omitted for clarity. ad9834 1 fsync sdata sclk 68hc11/68l11 1 pc7 mosi sck 02705-033 figure 36. 68hc11/68l11 to ad9834 interface
ad9834 data sheet ad9834 to 80c51/80l51 inter face figure 37 shows the serial i nterface between the ad9834 and the 80c51/80l51 microcontroller. the microcontroller is oper ated i n m ode 0 so that txd of the 80c51/80l51 drives sclk of the ad9834 , and rxd drives the serial data line ( sdata ) . the fsync signal is derived from a bit programmable pin on the port (p3.3 is shown in the diagra m). when data is to be transmitted to the ad9834 , p3.3 is taken low. the 80c51/80l51 transmits data in 8 - bit bytes, thus only eight falling sclk edges occur in each cycle. to load the remaining eight bits to the ad9834 , p3.3 is held low after the first eight bits have been transmitted, and a second write oper ation is initiated to transmit the second byte of data. p3.3 is taken high following the completion of the second write operation. sclk should idle high between the two write operations. the 80c51/80l51 outputs the serial data in a n lsb - first format. the ad9834 accepts the msb first (the four msbs being the control information, the next four bits being the address , and the eight lsbs contain ing the data when writing to a destination register). therefore, the transmit routine of the 80c51/80l51 must take this into account and rearrange the bits so that the msb is output first. 1 additional pins omitted for clarity. ad9834 1 fsync sdata sclk 80c51/80l51 1 p3.3 rxd txd 02705-034 figure 37 . 80c51/80l51 to ad9834 interface ad9834 to dsp56002 interfac e figure 38 shows the interface between t he ad9834 and the dsp56002. the dsp56002 is configured for normal mode asynchronous operation with a gated internal clock (syn = 0, gck = 1, sckd = 1). the frame sync pin is generated in ternally (sc2 = 1), the transfers are 16 bits wide (wl1 = 1, wl0 = 0), and t he frame sync signal frame s the 16 bits (fsl = 0) . the fra me sync signal is available on p in sc2, but needs to be inverted before being applied to the ad9834 . the interface to the dsp56000/ dsp56001 is similar to that of the dsp56002. 1 additional pins omitted for clarity. ad9834 1 fsync sdata sclk dsp56002 1 sc2 std sck 02705-035 figure 38 . dsp56002 to ad9834 interface rev. d | page 28 of 32
data sheet ad9834 outline dimension s compliant to jedec standards mo-153-ac 20 1 11 10 6.40 bsc 4.50 4.40 4.30 pin 1 6.60 6.50 6.40 seating plane 0.15 0.05 0.30 0.19 0.65 bsc 1.20 max 0.20 0.09 0.75 0.60 0.45 8 0 coplanarity 0.10 figure 39 . 20 - lead thin shrink small outline package [tssop] (ru - 20) dimensions shown in millimeters ordering guide model 1 maximum mclk (mhz) temperature range package description package option ad9834bru 50 ?40c to +1 05c 20- lead thin shrink small outline package [tssop] ru -20 ad9834bru- reel 50 ?40c to +105c 20- lead thin shrink small outline package [tssop] ru -20 ad9834bru- reel7 50 ?40c to +105c 20- lead thin shrink small outline package [tssop] ru -20 ad98 34bruz 50 ?40c to +105c 20- lead thin shrink small outline package [tssop] ru -20 ad9834bruz- reel 50 ?40c to +105c 20- lead thin shrink small outline package [tssop] ru -20 ad9834bruz- reel7 50 ?40c to +105c 20- lead thin shrink small outline packa ge [tssop] ru -20 ad9834cruz 75 ?40c to +105c 20- lead thin shrink small outline package [tssop] ru -20 ad9834cruz - reel7 75 ?40c to +105c 20 - lead thin shrink small outline package [tssop] ru - 20 1 z = rohs compliant part. rev. d | page 29 of 32
ad9834 data sheet notes rev. d | page 30 of 32
data sheet ad9834 notes rev. d | page 31 of 32
ad9834 data sheet notes ? 2003 C 2014 analog devices, inc. all rights reserved. trademarks and registered trademarks are the property of their respective owners. d02705 - 0- 3/14(a) rev. d | page 32 of 32


▲Up To Search▲   

 
Price & Availability of AD9834-15

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X